package com.itheima.reggie.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.reggie.common.R;
import com.itheima.reggie.domain.Employee;

import javax.servlet.http.HttpServletRequest;

/**
 * @author 刘付磊
 * @date 2021/10/14 0014
 */
public interface EmployeeService  extends IService<Employee> {
    public R<Employee> login(Employee employee);

    public R<String> logout(HttpServletRequest request);


    public R<Page<Employee>> findPageEndName(String name,int page, int pageSize);
}
